package cn.whit.blog.domain;
/*
 * 投票选项
 */
public class VoteOption {
	private String id;
	
	private String name;
	
	private String voteId;
	
	private String optionId;
	
	private int num;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getNum() {
		return num;
	}

	public void setNum(int num) {
		this.num = num;
	}

	public VoteOption(String id, String name, int num) {
		super();
		this.id = id;
		this.name = name;
		this.num = num;
	}

	public VoteOption() {
		super();
		// TODO Auto-generated constructor stub
	}

	@Override
	public String toString() {
		return "VoteItem [id=" + id + ", name=" + name + ", num=" + num + "]";
	}
	
	
}
